<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/head.jsp"%>
<div class="bjui-pageContent">
	<form action="${ctx}/sys/add${actionclass}.do" id="addForm_${actionclass}" data-toggle="validate" data-alertmsg="false">
		<table class="table table-condensed table-hover" width="100%">
			<tbody>

				<tr>
					<td>
						<label for="Item_name" class="control-label x150">指标：</label>
						<input type="text" name="name" value="${modifybean.name}" id="Item_name" data-rule="required" size="50">
					</td>
				</tr>

				<tr>
					<td>
						<label for="Item_fen" class="control-label x150">分值：</label>
						<input type="text" name="fen" value="${modifybean.fen}" id="Item_fen" data-rule="required;digits" size="15">
					</td>
				</tr>

				<tr>
					<td>
						<label for="Item_note" class="control-label x150">说明：</label>
						<input type="text" name="note" value="${modifybean.note}" id="Item_note" data-rule="required" size="50">
					</td>
				</tr>


			</tbody>
		</table>
	</form>
</div>
<div class="bjui-pageFooter">
	<ul>
		<li>
			<button type="button" class="btn-close" data-icon="close">关闭</button>
		</li>
		<li>
			<button type="submit" class="btn-default" data-icon="save">提交</button>
		</li>
	</ul>
</div>
<script type="text/javascript">
	function pic_upload_success(file, data) {
		var json = $.parseJSON(data)
		$(this).bjuiajax('ajaxDone', json)
		if (json[BJUI.keys.statusCode] == BJUI.statusCode.ok) {
			$('#j_custom_pic').val(json.filename).trigger('validate')
			$('#j_custom_span_pic').html('<img src="${ctx}/resource/' + json.filename + '" width="100" />')
		//$('#j_custom_span_pic').html(json.filename)
		}
	}
</script>
